@@ -44,11 +44,11 @@ cat > /etc/supervisor/conf.d/supervisord.conf <<EOF |
||
44 | 44 |
[supervisord] |
45 | 45 |
nodaemon = true |
46 | 46 |
user = root |
47 |
-;stdout_logfile = AUTO |
|
47 |
+stdout_logfile = AUTO |
|
48 | 48 |
loglevel = debug |
49 | 49 |
|
50 | 50 |
[unix_http_server] |
51 |
-file=/tmp/supervisor.sock ; (the path to the socket file) |
|
51 |
+file=/var/run/supervisor.sock ; (the path to the socket file) |
|
52 | 52 |
|
53 | 53 |
[eventlistener:stdout] |
54 | 54 |
command = supervisor_stdout |
@@ -80,7 +80,7 @@ autorestart=true |
||
80 | 80 |
stdout_events_enabled=true |
81 | 81 |
stderr_events_enabled=true |
82 | 82 |
EOF |
83 |
- supervisorctl reload |
|
83 |
+ supervisorctl reread |
|
84 | 84 |
|
85 | 85 |
# fix permissions and ownership of /var/lib/mysql |
86 | 86 |
chown -R mysql:mysql /var/lib/mysql |